Frequently asked questions


1. General questions

1.1.

Why are there two executable files, WinMerge.exe and WinMergeU.exe?

They support the different character encoding capabilities of older and newer versions of Windows.

  • WinMerge.exe is an ANSI (8-bit) executable that works in all 32-bit Windows systems. It does not have Unicode support.

    Internally, it stores only ANSI characters (256 possibilities). If you open a Unicode file, the characters must be converted to the ANSI codepage. Because there are over 100,000 Unicode characters, and only 256 can be represented in the ANSI codepage, data loss can occur. Conversion might be approximate (for example, accents are lost) or impossible: characters are replaced by question marks ( ? ).

    WinMerge.exe also cannot open files with names outside the current ANSI codepage. For example, WinMerge.exe running on an English system cannot open a file with a Hebrew name.

  • WinMergeU.exe is a Unicode-enabled executable that works on Windows NT4, Windows 2000, and newer systems. Because it supports Unicode, it has none of the limitations listed above for WinMerge.exe.

1.2.

That splash screen is annoying, how do I turn it off?

In the WinMerge menu, click EditOptions. In the Options window General page, deselect (uncheck) the option, Disable Splash Screen.

1.3.

I want to compare folders, but I cannot select a folder in the Browse dialog.

Browse in the folder contents to the folder you want to compare. Do not select any of the files or subfolders, just click Open when Folder Selection is displayed in the File name field. If you already selected a files or subfolders, just type a random string in the File name field and click Open. If the file name you enter is not found, WinMerge opens the folder.

1.4.

Does WinMerge support merging three files (sometimes called 3-way merge), where one file is the ancestor? This would be useful for version control!

Unfortunately not. We recognize that it would be a good feature, but have no plans to implement it in near future. You can work around this limitation somewhat by using two WinMerge instances, or by using a third path parameter on the command line. See Command line for more information.

1.5.

Do you have any plans to support other operating systems besides Windows?

Not currently. If somebody wants to help with cross-platform support (using wxWidgets, for example) we are interested, of course.

1.6.

Why is there no CVS integration?

Providing an integration with CVS is of questionable value because there already are so many good CVS clients. However, WinMerge does provide an integration with the diff function of one of those clients, TortoiseCVS (as described in Version control integration). Also, WinMerge can resolve conflict files (see Resolving conflict files).

1.7.

What is an MRU list?

MRU is an abbreviation for “Most Recently Used”, and refers to the history lists in the Select Files or Folders dialog. The list contain the last twenty paths used on each side.

1.8.

Can WinMerge open OpenOffice files?

OpenOffice files are archives. To be able to open them in WinMerge, you have to configure archive support:

  • Install archive support, as described in 7-Zip and archive support.

  • In WinMerge, click the Options button (or click EditOptions). In the Archive Support page, enable the Detect archive type from file signature option

1.9.

Why do large files sometimes show up as different in the Folder Compare window, but identical in the File Compare window?

This is because WinMerge always uses the Quick Contents file compare method for large files. This method enables WinMerge to compare large files more efficiently. To test if this is causing the behavior you're seeing, you can try raising the Quick Contents threshold for large files. See the discussion of this method in Starting a folder compare operation to learn how.

1.10.

WinMerge shows an error (or even crashes!) complaining it cannot load CompareMSWordFiles.dll or CompareMSExcelFiles.dll!

These files are plugins written with Visual Basic (6.0). The WinMerge installer does not contain Visual Basic runtime files, so those plugins cannot be loaded. You can address the problem using one of these options:

2. Installing

2.1.

WinMerge does not start and complains about missing DLL files (mfc71.dll, mfc71u.dll, msvcr71.dll, and msvcp71.dll)

When installing WinMerge from an archive (zip or 7z) file, you also need the runtime package containing those files. See the Installing from an archive in the installation Help topic for details.

3. File comparing

3.1.

Why do my files have all lines marked as different (colored), even though I know all the lines are not different?

Maybe your files have different line ending styles (for example, Windows and Unix). By default, WinMerge compares line ending styles. To disable it, click EditOptions. In the Compare page, enable (check) the option, Ignore carriage return differences.

4. Questions about editor

4.1.

Why are some characters cut in half?

Try clicking ViewSelect Font and selecting a different font.

4.2.

I see question marks instead of letters in files.

This is what we call a lossy conversion.

For Unicode files (UCS-2, UTF-8), use WinMergeU.exe.

For ANSI files, this is probably due to code-page problems. To troubleshoot, click EditOptions. Then in the Codepages page, see if the option Detect codepage info is checked. If it is, deselect the option, click OK, and see if that helps.

4.3.

I cannot select proportional fonts for editor.

Unfortunately, WinMerge supports only non-proportional fonts.

4.4.

What is delay of automatic rescan? Why it is needed?

When Automatic Rescan is enabled (in the Editor page of Options), WinMerge delays rescanning while you edit files. That is, no rescanning occurs until shortly after you stop typing. Without this delay, WinMerge would rescan after every typed character, making the editing process too slow. The delay especially improves editing bigger files, which can take several seconds to rescan.

4.5.

Can I print files from the File panes in the Compare Files window?

Yes, there is basic printing support: click FilePrint.

4.6.

Can I hide similar lines in a file comparison, so that only different lines are visible?

No, you can't. Many users have requested this feature but we don't have any plans to implement it. We don't believe it would really improve usability.

5. WinMerge as external compare or diff-tool

5.1.

I want WinMerge to close with a single ESC press after I'm done?

Open WinMerge from the command line, and include the -e switch.

5.2.

I don't want to see the Files Are Identical message when I compare identical files, I just want WinMerge to quit.

Use the -x command line switch.

5.3.

How can I avoid filling the Select Files or Folders dialog history lists with temporary paths?

Have your external program invoke WinMerge with the /ub option, which tells WinMerge to not add the files to the MRU.

5.4.

But the program I'm using doesn't allow command line parameters!

Create a batch file that contains one of these lines (but not both):

  • CALL "<winmerge path>\WinMerge" /ub %1 %2
  • start "WinMerge" "<winmerge path>" /ub %1 %2

Call this batch file from your program.

6. Archive support

6.1.

I installed 7-Zip but archive support does not work.

You might have one of these problems:

  • Do you have the plugin installed, and does the plugin version match the 7-Zip version? If not, see the instructions for 7-Zip and archive support in the installation topic.

  • If the error is something like: 7-zip x.xx missing / Plugin present, then you probably installed 7-Zip using the MSI installer. Some 7-Zip MSI installers do not install all the files that WinMerge needs (specifically, 7zip_pad.xml in the 7-Zip program folder). Download and run the EXE version of the 7-Zip installer.

6.2.

How can I open the Perry-style patch files that WinMerge developers use when submitting patches?

Perry-style patches are zip files containing original and changed files in different directories. WinMerge has internal support (surprise!) for handling these files: just launch a compare operation, selecting the zip file for both the left and right sides. WinMerge opens the contents of the zip file in a Folder Compare window, comparing the original and changed files.

6.3.

I do not want to install 7-zip. Can archive support use other archive tools (like WinZip or WinRar)?

Unfortunately WinMerge can only use 7-zip.

6.4.

Can WinMerge open archive files with non-standard file-extensions? (For example .jar files as zip-files)

Yes: click the Options button (or click EditOptions). In the Archive Support page, enable the Detect archive type from file signature option.

7. Text encoding (codepages)

7.1.

How do I tell if my file is coded in the local Windows (ANSI) codepage?

Open the file in Windows Notepad (for example, click Start(All) ProgramsAccessoriesNotepad). Click FileSave As, and in the Save As dialog, scroll to the Encoding item at the dropdown list. The possible values include:

  • ANSI: The file is apparently in the local Windows codepage. If the file is entirely in English and normal punctuation, then the file is also in ASCII.

  • Unicode: The file is probably in the default Windows Unicode encoding, UCS-2LE.

  • UTF-8: The file is in the cross-platform Unicode encoding, UTF-8.

  • Unicode big endian: The file is in a different Unicode encoding that is little used or supported in Windows, probably UCS-2BE.

8. Patch files

8.1.

Is there way to create patch files from the command line?

No. It might be added in later versions. Until then, you can use the Win32 port of diffutils. The latest version of diffutils (and patch) can be downloaded from the SourceForge GnuWin32 project page: http://sourceforge.net/projects/gnuwin32.

8.2.

Can patches be applied using WinMerge?

No. However, you can apply patches using the patch tool from the GnuWin32 project, because WinMerge produces patch files that are compatible with GNU/diffutils. Also, see the preceding question.